﻿@{ 
   
    Layout = "~/Views/Shared/_rootLayout.cshtml";
   
}
 
@Html.DevExpress().Splitter(settings =>
{
    settings.Name = "MainSplitter1";
    settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);

    settings.Panes.Add(subpane =>
    {
        subpane.Name = "ContentLeft";
        subpane.PaneStyle.CssClass = "leftPane";
        subpane.ShowCollapseBackwardButton = DefaultBoolean.True;
        subpane.Size = System.Web.UI.WebControls.Unit.Pixel(190);
        subpane.PaneStyle.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(1);
        subpane.ScrollBars = System.Web.UI.WebControls.ScrollBars.Auto;
        subpane.SetContent("<iframe  id='contentleft' name='contentleft' style='width:100%;height:99%' frameborder='0' src='" + Url.Action("Left", "Index") + "'></iframe>");

    });

    settings.Panes.Add(subpane =>
    {

        subpane.SetContent(@RenderBody().ToHtmlString());

    });


}).GetHtml()
